package model;

public class Parents {
	int pid;
	int uid;
	String name;
	String birthday;
	int sex;
	String avartar;
	String bio;
	String email;
	String address;

	public Parents(int pid, int uid, String name, String birthday, int sex,
			String avartar, String bio, String email, String address) {
		super();
		this.pid = pid;
		this.uid = uid;
		this.name = name;
		this.birthday = birthday;
		this.sex = sex;
		this.avartar = avartar;
		this.bio = bio;
		this.email = email;
		this.address = address;
	}

	public int getPid() {
		return pid;
	}

	public void setPid(int pid) {
		this.pid = pid;
	}

	public int getUid() {
		return uid;
	}

	public void setUid(int uid) {
		this.uid = uid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public int getSex() {
		return sex;
	}

	public void setSex(int sex) {
		this.sex = sex;
	}

	public String getAvartar() {
		return avartar;
	}

	public void setAvartar(String avartar) {
		this.avartar = avartar;
	}

	public String getBio() {
		return bio;
	}

	public void setBio(String bio) {
		this.bio = bio;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	@Override
	public String toString() {
		return "Parents [pid=" + pid + ", uid=" + uid + ", name=" + name
				+ ", birthday=" + birthday + ", sex=" + sex + ", avartar="
				+ avartar + ", bio=" + bio + ", email=" + email + ", address="
				+ address + "]";
	}

}
